package portal.mybatis.dao.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import portal.mybatis.dao.NodeDetail;
import portal.mybatis.dao.NodeDetailExample;
import portal.mybatis.page.Page;

public interface NodeDetailMapper {
    long countByExample(NodeDetailExample example);

    int deleteByExample(NodeDetailExample example);

    int insert(NodeDetail record);

    int insertSelective(NodeDetail record);

    List<NodeDetail> selectByExample(NodeDetailExample example);

    int updateByExampleSelective(@Param("record") NodeDetail record, @Param("example") NodeDetailExample example);

    int updateByExample(@Param("record") NodeDetail record, @Param("example") NodeDetailExample example);
    
    List<NodeDetail> selectByPage(Page<NodeDetail> page);
    
    long  countByPage(Page<NodeDetail> page);
}